<?php

include('config.php');  // DB-Verbindung einbinden

function uploadPic()
{
	$id = $_SESSION['user_id'];
	$filename = $_SERVER['DOCUMENT_ROOT'].'/GamesLetsPlay/img/avatar/'.$id.'';	
	
	if (file_exists($filename)) {
		
	} else {
		mkdir($filename);
	}
}

?>